package com.zuoye.day08;

public class PersonalOrder extends Order{
    public PersonalOrder() {
    }

    public PersonalOrder(int orderId, String ownerName, int orderNum, float orderPrice, String orderDate) {
        super(orderId, ownerName, orderNum, orderPrice, orderDate);
    }

    @Override
    public Object getProductCount() {
        return null;
    }


    @Override
    public Order orderClone() {
      PersonalOrder clonePer = new PersonalOrder();
      clonePer.orderId = this.orderId;
      clonePer.ownerName = this.ownerName;
      clonePer.orderNum = this.orderNum;
      clonePer.orderPrice = this.orderPrice;
      clonePer.orderDate = this.orderDate;
        return clonePer;
    }
}
